package top.lileix.mybatis.generator.x.domain.mapper;

public class MyBatisSQL {
    public String sql;
    public String id;// 方法名
    public String parameterType;
    public String javaReturnType;// java返回类型
    public String resultMap;

    public String text;

    /**
     * @param sql
     *            sql语句类型
     * @param id
     *            方法名
     * @param parameterType
     *            参数类型
     * @param javaReturnType
     *            java返回类型
     * @param resultMap
     *            mbatis返回映射
     */
    public MyBatisSQL(String sql, String id, String parameterType, String javaReturnType,
	    String resultMap) {
	super();
	this.sql = sql;
	this.id = id;
	this.parameterType = parameterType;
	this.javaReturnType = javaReturnType;
	this.resultMap = resultMap;
    }

    public String getText() {
	return text;
    }

    public void setText(String text) {
	this.text = text;
    }

    public MyBatisSQL() {
	super();
    }

}
